﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace ClubInfrostructure
{
    class ManagerProfile
    {
            public int _managerID;
            public string _managerFIO;
            public int   _clubID;
            public decimal  _salary;
            public string _nationalyty;
            public DateTime _Birsday;
            public static int managersAmount = 0;

            public ManagerProfile ()
            {
                this._managerID = managersAmount++;
                this._managerFIO  = null;
                this._clubID  = 0;
                this._salary  = 0;
                this._nationalyty  = null;
                this._Birsday  = Convert.ToDateTime("01/01/0001");
            }
             static ManagerProfile()
            {
                managersAmount = 0;
            }

            public  void RegisterdPlayerProfile(string FIO,string nationalyty, string  birsday)
            {
                this._managerID = managersAmount++;
                this._managerFIO = FIO;
                this._nationalyty = nationalyty;
                this._Birsday = Convert.ToDateTime(birsday);
            }

            public void ChangeClub(int managerID, int clubID, decimal salary)
            {
                this._managerID = managerID;
                this._clubID = clubID ;
                this._salary = salary ;
            }

            public void ChangeSalary(int managerID, decimal salary)
            {
                this._managerID = managerID;
                this._salary = salary;
            }

    }
}
